/*
 * 
 * author     date                    function                 purpose
 * wuwentao   20111122             base structure               */


package com.badlogicgames.framwork;

import com.badlogic.gdx.math.Vector2;

public class DynamicGameObject extends GameObject {
	public final Vector2 velocity;
	public float stateTime;

	public DynamicGameObject (float x, float y, float width, float height) {
		super(x, y, width, height);
		velocity = new Vector2();
	}
	
	public void update (float deltaTime) {//update time for animation.
		stateTime += deltaTime;
		
		updatePosition();//update every render circle.
	}
	
	public void updatePosition()//a dynamic object is a moving object. x, y is changing always
	{
		//to do
	}
}
